package com.atguigu.jxc.dao;


import com.atguigu.jxc.entity.Supplier;
import org.apache.ibatis.annotations.Param;

import java.util.ArrayList;
import java.util.List;

public interface SupplierMapper {
    ArrayList<Supplier> list(@Param("page") Integer page,
                             @Param("rows")Integer rows,
                             @Param("supplierName")String supplierName);

    void save(Supplier supplier);

    void update(Supplier supplier);

    void delete(Integer ids);

    //供应商下拉列表查询
    List<Supplier> getComboboxList(String q);
}
